.container {
    padding: 12px 16px 16px 16px;

    :global {
        .ant-card-head-title {
            font-weight: 600;
        }

        em {
            font-weight: 500;
            color: rgba(0, 0, 0, 0.85);
            font-style: normal;
            font-size: 24px;
            padding: 0 4px;
        }

        p {
            font-size: 14px;
            font-weight: 400;
            color: rgba(0, 0, 0, 0.45);
            margin-bottom: 0;
        }
    }
}

.smallCard {
    .cardItem {
        min-height: 158px;
        background: rgba(255, 255, 255, 1);
        border-radius: 4px;
        padding: 20px;
    }

    .cardItemTitle {
        em {
            font-size: 14px;
            padding: 0;
        }

        p {
            font-size: 12px;
        }
    }

    .cardItemContent {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-top: 16px;
        position: relative;

        &::after {
            position: absolute;
            top: 50%;
            left: 45%;
            transform: translateY(-50%);
            content: '';
            width: 1px;
            height: 32px;
            background: rgba(0, 0, 0, 0.15);
        }
    }

    .cardItemContentLeft {
        width: 45%;

        em {
            font-size: 40px;
            color: rgba(0, 0, 0, 0.85);
        }
    }

    .cardItemContentRight {
        width: 55%;
        white-space: nowrap;

        em {
            font-size: 20px;
        }
    }
}

.topBtn {
    :global {
        .ant-btn-link {
            color: rgba(0, 0, 0, 0.65);
        }
    }
}

.block {
    margin-top: 12px;
}

.rankText {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    color: #fff;
    font-size: 24px;
    display: flex;
    justify-content: center;
    align-items: center;

    &.rankGood {
        background-color: rgba(78, 203, 118, 1);
    }

    &.rankMedium {
        background-color: rgba(255, 162, 45, 1);
    }

    &.rankPoor {
        background-color: rgba(250, 84, 28, 1);
    }

    &.rankNone {
        background-color: rgba(235, 235, 235, 1);
    }
}

.infoBox {
    white-space: nowrap;

    p {
        margin-bottom: 0;
    }
}

.subTitle {
    font-weight: 600;
    color: rgba(0, 0, 0, 0.85);
    margin-bottom: 16px;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}

.subTitleExtra {
    position: relative;
    text-indent: 10px;

    &::after {
        content: '';
        display: block;
        width: 4px;
        height: 13px;
        background: rgba(255, 168, 8, 1);
        border-radius: 2px;
        position: absolute;
        left: 0;
        top: 50%;
        transform: translateY(-50%);
    }
}

.boxItem {
    height: 80px;
    background: rgba(255, 162, 45, 0.08);
    border-radius: 4px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    p {
        color: rgba(255, 162, 45, 0.65);
    }

    em {
        font-weight: 500;
        color: rgba(255, 162, 45, 1);
        font-style: normal;
    }
}

.panelItem {
    display: flex;
    align-items: center;
    white-space: nowrap;
    margin-top: 16px;

    :global {
        .ant-progress-inner {
            background-color: transparent;
        }
    }
}

.itemTitle {
    margin-right: 16px;
    font-size: 14px;
    font-weight: 400;
    color: rgba(0, 0, 0, 0.45);
}

.cardNoBorder {
    :global {
        .ant-card-head {
            border-bottom: none;
        }
    }
}

.cardNoPadding {
    :global {
        .ant-card-body {
            padding: 0;
        }

        .ant-card-head {
            padding: 0;
        }

        .ant-card-head-title {
            padding: 0;
        }

        .ant-card-head-wrapper {
            height: 40px;
        }
    }
}

.infoCard {
    height: 214px;
    border-radius: 4px;
    padding: 24px;
    border: 1px solid rgba(0, 0, 0, 0.08);

    :global {
        .ant-progress-outer {
            padding-right: 0 !important;
            margin-right: 0 !important;
        }
    }
}

.verticalFlex {
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: center;
}

.moreBtn {
    color: rgba(0, 0, 0, 0.45);
    font-size: 14px;
    height: 28px;
    line-height: 28px;
    padding: 0 8px;
    border-radius: 4px;
    display: block;
    cursor: pointer;

    &:hover {
        background: rgba(0, 0, 0, 0.08);
        color: rgba(0, 0, 0, 0.65);
    }
}

.colorGood {
    color: #4ecb76 !important;
}

.colorMedium {
    color: #ffa22d !important;
}

.colorPoor {
    color: #fa541c !important;
}

.colorNone {
    color: #ebebeb !important;
}

.pieTextContainer {
    position: relative;
}

.pieText {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    text-align: center;

    em {
        display: block;
    }
}

.commonTitle {
    color: rgba(0, 0, 0, 0.8);
    padding-left: 8px;
    position: relative;

    &::before {
        content: '';
        width: 3px;
        height: 13px;
        background: rgba(255, 168, 8, 1);
        border-radius: 2px;
        position: absolute;
        left: 0;
        top: 50%;
        transform: translate(0, -50%);
    }
}
